package com.huahai.service.impl;

import com.huahai.entity.Product;
import com.huahai.service.IProductService;
import org.springframework.stereotype.Component;

@Component
public class ProductServiceFallBack implements IProductService {
    public Product findById(Integer pid) {
        throw new RuntimeException("Feign int conjunction with Sentinel");
    }
}
